package com.kgc.novel.service.book;

import com.kgc.novel.common.Res;
import com.kgc.novel.domain.entity.BookAuthor;
import com.kgc.novel.domain.param.BookAuthorParam;

import java.util.List;

public interface BookAuthorService {

    Res selectAuthorAll(BookAuthorParam bookAuthorParam);

    Res selectAuthorNoPage();

    Res getSingleAuthor(String id);

    Res addAuthor(BookAuthor bookAuthor);

    Res updateAuthor(BookAuthor bookAuthor);

    Res deleteAuthor(String id);

    Res deleteAllAuthor(List<String> ids);

}
